package Array.arrayone;

import java.util.Scanner;

public class test1 {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入您的性别");
        String xinb = sc.next();
        System.out.println("请输入引体向上个数");
        int sum = sc.nextInt();
        if (xinb.equals("男")){
            if (sum>12){
                System.out.println("合格");
            }else{
                System.out.println("不合格");
            }
        }
        else{
            if(sum>8){
                System.out.println("合格");
            }else{
                System.out.println("合格");
            }
        }
    }
}
